package com.csap.framework.integration.boot.autoconfigure;

import com.csap.framework.integration.RocketmqConfig;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author yangchengfu
 * @description
 * @dataTime 2020年-10月-12日 18:45:00
 **/
@Configuration
public class RocketmqAutoConfiguration {
    @Bean
    @ConfigurationProperties(prefix = RocketmqConfig.prefix)
    public RocketmqConfig rocketmqConfig() {
        return new RocketmqConfig();
    }
}
